package com.metaera.app.utils.validated;

import android.widget.TextView;

public class Length extends SingleRule{

    private int length;

    public Length(int length, TextView... observed) {
        super(observed);
        this.length = length;
    }

    @Override
    public boolean validation(CharSequence charSequence) {
        return !(charSequence.length() < length);
    }

}
